<?


SWITCH ($action){

//------------------------------------------------------------------------------ANNUL MARCHANDAGE
//------------------------------------------------------------------------------

CASE 'annul_mer':
                 $query="DELETE FROM tmp_commerce WHERE commerce_unit1=$_SESSION_VAR_UNITE";
                 $resultat=mysql_query($query);

                 $query="UPDATE sdunite SET unite_occuper='' WHERE unite_id=$_SESSION_VAR_UNITE";
                 $resultat=mysql_query($query);

                 $message="Annulation du commerce. </BR>Pour retourner a la vue de la map : </BR><A href=indexmap.php?SID>Cliquez ICI </A>";
                 require("include/message.php");
                 EXIT;
 
}//Fin du switch


?>
